<?php
include_once('common/header.php');
$strRefer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
if($AppUI->id <= 0 || $strRefer == '') {
	$arrJson 	= array('error'=>1,'msg'=>$arrError[1]);
	echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
	exit();
}
include_once('index/box-shoutbox.php');
$this->view->ajax 	= 1;
$objView			= Zend_Registry::get('objView');
$strShoutbox		= $objView->fetch('index/box-shoutbox.tpl');
$arrJson			= array('error'		=> 0, 							
							'msg'		=> $strMessage,
							'dshoutbox'	=> $strShoutbox
					);
echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
exit();
?>
